package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.saas.constant.StringConstant;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 通话录音语音转写入参
 * @date 2019/3/13 11:21
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallAudioTranslateDTO extends BaseDTO {

    /**
     * 微应用标识，参考CallCenterTypeEnum
     */
    @NotNull(message="{dto.msg.callAccountRegister.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 通话记录主键ID
     */
    @NotNull(message="{dto.msg.callAudioTranslate.logId.NotNull}")
    private Long logId;

    /**
     * 通话记录平台来源
     */
    @NotBlank(message = "{dto.msg.callAudioTranslate.telPlat.NotBlank}")
    private String telPlat;

    public CallAudioTranslateDTO() {
        telPlat = StringConstant.PLATFORM_DUYAN;
    }
}
